#!/usr/bin/python
# -*- coding: UTF-8 -*-
import pandas as pd
import numpy as np
pd.set_option('display.width', 1000)


def readCsv():
    data = pd.read_csv("data/hexun.csv");
    print(data.head())
    data_sorted = data.sort_values(by="21")
    print(data_sorted.head())


def readExcel():
    data = pd.read_excel("data/abc(1).xls")
    print(data.head())


def readHtml():
    data = pd.read_html("data/abc(1).html")
    print(data)


# readExcel()
# readHtml()
data=pd.read_table("data/abc.txt")
print(data)